DbServiceImpl{
  Permissions perms=new Permissions();
  ProtectionDomain domain=new ProtectionDomain(new CodeSource(null,(Certificate[])null),perms);
  evalContext=new AccessControlContext(new ProtectionDomain[]{domain});
}
executeGremlinQueries{
    result.add(this.executeQuery(gremlinQuery,null,engine));
    List<Vertex> startNodes=new ArrayList<Vertex>();
}
executeGremlinQuery{ }
entityRepresentation{
  if (entity instanceof Vertex) {
 else   if (entity instanceof Edge) {
 else   if (entity instanceof Graph) {
 else   if (entity instanceof Double || entity instanceof Float) {
    return ((Number)entity).doubleValue();
 else   if (entity instanceof Long || entity instanceof Integer) {
    return ((Number)entity).longValue();
 else   if (entity instanceof BigDecimal) {
    return ((BigDecimal)entity).doubleValue();
 else   if (entity instanceof Iterable<?>) {
}
executeQuery{
    engine.getBindings(ScriptContext.ENGINE_SCOPE).put("v",startNode);
    throw new ScriptException("from doPriv: " + exception.getMessage());
    final List<Object> results=new ArrayList<Object>();
    for (    final Object r : (Iterable<?>)result) {
      results.add(this.entityRepresentation(r));
}
run{
 catch (  ScriptException e) {
}
getScriptEngine{
  ScriptEngineManager manager=new ScriptEngineManager();
  org.springframework.data.neo4j.support.Neo4jTemplate.getGraphDatabaseService
  Nodes n=new Nodes(engine);
  engine.getBindings(ScriptContext.ENGINE_SCOPE).put("f",filters);
  engine.getBindings(ScriptContext.ENGINE_SCOPE).put("n",n);
  engine.getBindings(ScriptContext.ENGINE_SCOPE).put("tick",Schedule.getSchedule().getCurrentTick());
  return engine;
}
getStartNodes{
  return new ArrayList<String>(nodeEntityHelper.getNodeEntityMap().keySet());
}
getFilters{ }
setFilters{ }
Nodes{ }
getNodes{
}
